<?php

//php 入口页面

//环境变量：production、testing、development
define("PHP_ENV", getenv("PHP_ENV") ? getenv("PHP_ENV") : "development");

define("INDEX_PATH", str_replace("\\", "/", __DIR__) . "/");
define("ROOT_PATH", str_replace("\\", "/", dirname(__DIR__)) . "/");
define("APP_PATH", ROOT_PATH . "app/");
define("CONFIG_PATH", ROOT_PATH . "config/");

require ROOT_PATH . "vendor/autoload.php";

Xframe::run();
